import { get, post } from '@/utils';

export const login = (body = {}) => {
  return post('/user/login', body);
};

export const register = (body = {}) => {
  return post('/user/register', body);
};